9.0
HIGH CVSS 2.0
CVE-2026-31844
Authenticated SQL Injection in Koha displayby parameter of suggestion.pl
Description

An authenticated SQL Injection vulnerability (CWE-89) exists in the Koha staff interface in the /cgi-bin/koha/suggestion/suggestion.pl endpoint due to improper validation of the displayby parameter used by the GetDistinctValues functionality. A low-privileged staff user can inject arbitrary SQL queries via crafted requests to this parameter, allowing execution of unintended SQL statements and exposure of sensitive database information. Successful exploitation may lead to full compromise of the backend database, including disclosure or modification of stored data.

INFO

Published Date :

March 11, 2026, 7:16 a.m.

Last Modified :

March 11, 2026, 1:52 p.m.

Remotely Exploit :

Yes !

Source :

309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Affected Products

The following products are affected by CVE-2026-31844 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
CVSS 3.1 HIGH 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
CVSS 4.0 HIGH 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
CVSS 4.0 HIGH 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Solution
Patch the SQL injection vulnerability in Koha's suggestion script to prevent arbitrary SQL queries.
  • Apply the vendor-supplied patch for Koha.
  • Review and sanitize all user inputs.
  • Implement parameterized queries.
  • Restrict database permissions.
Public PoC/Exploit Available at Github

CVE-2026-31844 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-31844.

URL Resource
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41593
https://koha-community.gitlab.io/KohaAdvent/2025-12-09-security-all/
https://koha-community.org/koha-25-11-01-released/
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-31844 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python

Updated: 3 weeks, 1 day ago
1 stars 1 fork 1 watcher
Born at : March 11, 2026, 10:53 p.m. This repo has been linked 1 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 2 hours, 14 minutes ago
7620 stars 1243 fork 1243 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 766 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-31844 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-31844 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

    Mar. 11, 2026

    Action Type Old Value New Value
    Changed Description An authenticated SQL Injection vulnerability (CWE-89) in the displayby parameter of /cgi-bin/koha/suggestion/suggestion.pl in Koha allows a low-privileged staff user to execute arbitrary SQL queries and retrieve sensitive database information. An authenticated SQL Injection vulnerability (CWE-89) exists in the Koha staff interface in the /cgi-bin/koha/suggestion/suggestion.pl endpoint due to improper validation of the displayby parameter used by the GetDistinctValues functionality. A low-privileged staff user can inject arbitrary SQL queries via crafted requests to this parameter, allowing execution of unintended SQL statements and exposure of sensitive database information. Successful exploitation may lead to full compromise of the backend database, including disclosure or modification of stored data.
    Added Reference https://koha-community.gitlab.io/KohaAdvent/2025-12-09-security-all/
    Added Reference https://koha-community.org/koha-25-11-01-released/
  • New CVE Received by 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

    Mar. 11, 2026

    Action Type Old Value New Value
    Added Description An authenticated SQL Injection vulnerability (CWE-89) in the displayby parameter of /cgi-bin/koha/suggestion/suggestion.pl in Koha allows a low-privileged staff user to execute arbitrary SQL queries and retrieve sensitive database information.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V2 (AV:N/AC:L/Au:S/C:C/I:C/A:C)
    Added CWE CWE-89
    Added Reference https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41593
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.